<template>
  <div class="container">
    <div class="content">
      <div
        class="often_item"
        v-for="(item, index) in module.modules"
        :key="index"
      >
        <img class="image" :src="fileBaseUrl + item.pic" alt="" />
        <div class="entryName">{{ item.biz.params.entryName }}</div>
      </div>
    </div>
  </div>
</template>


<script>
export default {
  props: {
    module: {
      type: Object,
    },
    fileBaseUrl: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.container {
  margin-top: 11px;
  width: 100%;
  .content {
    margin: 0 17px;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 16px 0;
    .often_item {
      width: calc(100% / 4);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-bottom: 32px;
      .image {
        height: 28px;
        width: 28px;
      }
      .entryName {
        margin-top: 11px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: #000000;
      }
    }
  }
}
</style>
